package com.ruoyi.checksystem.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 协议信息对象 agreement
 * 
 * @author ruoyi
 * @date 2025-03-20
 */
public class Agreement extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 用户唯一标识 */
    @Excel(name = "用户唯一标识")
    private Long id;

    /** 用户类型 */
    @Excel(name = "用户类型")
    private String type;

    /** 用户描述信息 */
    @Excel(name = "用户描述信息")
    private String content;

    /** 数据版本号 */
    @Excel(name = "数据版本号")
    private String version;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public void setType(String type) 
    {
        this.type = type;
    }

    public String getType() 
    {
        return type;
    }

    public void setContent(String content) 
    {
        this.content = content;
    }

    public String getContent() 
    {
        return content;
    }

    public void setVersion(String version) 
    {
        this.version = version;
    }

    public String getVersion() 
    {
        return version;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("type", getType())
            .append("content", getContent())
            .append("version", getVersion())
            .append("updateTime", getUpdateTime())
            .append("updateBy", getUpdateBy())
            .toString();
    }
}
